Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

calc and save throughput metrics and delete multiple test suites api #114

Merged
merged 8 commits into from
Feb 14, 2024

Conversation

kaylarizi
Copy link
Collaborator

@kaylarizi kaylarizi commented Jan 31, 2024

  1. new test run metrics - requestThroughput and bytesThroughput - calc, save and return to ui
  2. new api - delete multiple test suites

Checklist:

  • I have included a meaningful summary of my PR's content
  • I have linked my PR to the relevant issue
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes do not generate new compliance warnings / errors
  • I have tested that my fix or enhancement is effective or that my feature works
  • New and existing unit tests pass locally with my changes

api/src/services/test_suites_service.py Outdated Show resolved Hide resolved
api/src/services/analyze_service.py Outdated Show resolved Hide resolved
api/src/services/metrics_service.py Outdated Show resolved Hide resolved


def create(test_run, client_metrics, server_metrics, data_bytes, start_time, end_time):
__save_resource_metrics(Metric.CLIENT_AVERAGE_CPU, Metric.CLIENT_AVERAGE_MEMORY, client_metrics, test_run)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move client and server to save_resources method

@kaylarizi kaylarizi merged commit e652bf6 into main Feb 14, 2024
4 checks passed
@kaylarizi kaylarizi deleted the TE109/throughput_metrics branch February 14, 2024 12:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
3 participants